#include "lib_c.h"
#include <iostream>
#include <algorithm>

namespace LibC {
    void init() {
        std::cout << "LibC: Initializing..." << std::endl;
    }
    
    std::string process_string(const std::string& input) {
        std::cout << "LibC: Processing string: " << input << std::endl;
        std::string result = input;
        std::transform(result.begin(), result.end(), result.begin(), ::toupper);
        return result;
    }
    
    void log_message(const std::string& msg) {
        std::cout << "LibC: LOG - " << msg << std::endl;
    }
}